export const batchOptions = [
  {
    title: "产品资料修改",
    options: [
      {
        label: "修改产品状态",
        value: 1,
        auth: "/goods/task/product/batchChangeStatus",
      },
      {
        label: "修改认证类型",
        value: 5,
        auth: "/goods/task/product/batchChangeCertificationType",
      },
    ]
  },
  {
    title: "供应商资料修改",
    options: [
      {
        label: "修改报关信息",
        value: 2,
        auth: "/goods/task/product/batchChangeCustomsInfo",
      },
    ]
  },
  {
    title: "SPU信息修改",
    options: [
      {
        label: "修改产品分类",
        value: 3,
        auth: "/goods/task/product/batchChangeCategory",
      },
      {
        label: "修改SPU信息",
        value: 4,
        auth: "/goods/task/product/batchChangeSpuInfo",
      },
      {
        label: "合并SPU",
        value: 6,
        auth: "/goods/goods-management/spu-list/batchMergeSPU"
      },
    ]
  },
  {
    title: "批量小工具",
    options: [
      {
        label: "批量提取数据",
        value: 18,
        auth: "/goods/task/product/extract-info",
      },
    ]
  },
];

export const skuOptionss = [
  {
    label: "系统SKU",
    value: "sku"
  },
  {
    label: "自定义SKU",
    value: "custom_sku"
  },
  // {
  //   label: "赛盒SKU",
  //   value: "sai_he_sku"
  // },
  { 
    label: "组合子系统SKU", 
    value: "combination_sku" 
  },
  { 
    label: "组合子自定义SKU", 
    value: "combination_custom_sku" 
  },
]

export const languageOptions = [
  {
    label: "中文名称",
    value: "sku_cn_title"
  },
  {
    label: "英文名称",
    value: "sku_en_title"
  }
]

export const timeOptions = [
  { 
    label: "开发添加", 
    value: "dev_add_time" 
  },
  { 
    label: "开发审核", 
    value: "dev_review_time" 
  },
  // { 
  //   label: "拿样时间", 
  //   value: "sample_detection_time" 
  // },
  { 
    label: "检测时间", 
    value: "sample_detection_time" 
  },
  {
    label: "图片任务", 
    value: "image_processing_time" 
  },
  { 
    label: "图片审核", 
    value: "iamge_audit_time" 
  },
  { 
    label: "刊登上架", 
    value: "publish_detection_time" 
  }
]

export const personOptions = [
  { 
    label: "开发人员", 
    value: "developer_id" 
  },
  { 
    label: "添加人员", 
    value: "create_user" 
  },
  { 
    label: "审核人员", 
    value: "dev_reviewer_id" 
  },
  { 
    label: "品质人员", 
    value: "quality_inspector_id" 
  },
  { 
    label: "采购人员", 
    value: "purchaser_id" 
  },
  { 
    label: "图片人员", 
    value: "img_processor_id" 
  },
  { 
    label: "编辑人员",
    value: "img_processor_id"
  }
]

export const purchaseList = [
  {
    label: '采购价',
    value: 'purchase_price'
  },
  {
    label: '最后采购价',
    value: 'latest_purchase_price'
  },
  {
    label: '平均采购价',
    value: 'average_purchase_price'
  },
]

export const weightList = [
  {
    label: '毛重',
    value: 'gross_weight_g'
  },
  {
    label: '净重',
    value: 'net_weight_g'
  },
  {
    label: '包裹重',
    value: 'packing_weight_g'
  },
]

export const whetherOptions = [
  {
    label: '是',
    value: 1
  },
  {
    label: '否',
    value: 0
  },
]

export const salesStatusOptions = [
  {
    label: 'SKU销售状态',
    value: 'sales_status'
  },
  {
    label: 'SPU销售状态',
    value: 'spu_sales_status'
  },
]

export const supplyStatusOptions = [
  {
    label: 'SKU货源状态',
    value: 'supply_status'
  },
  {
    label: 'SPU货源状态',
    value: 'spu_supply_status'
  },
]

export const cleanProductStatusOptions = [
  {
    label: 'SKU智能清洁产品状态',
    value: 'clean_product_status'
  },
  {
    label: 'SPU智能清洁产品状态',
    value: 'spu_clean_product_status'
  },
]

export const productStatusOptions = [
  {
    label: 'SKU产品状态',
    value: 'product_status'
  },
  {
    label: 'SPU产品状态',
    value: 'spu_status'
  },
]

export const dateOptions = [
  {
    label: "开发添加时间",
    value: "dev_add_time",
  },
  {
    label: "开发审核时间",
    value: "dev_review_time",
  },
  {
    label: "物流审核时间",
    value: "logistics_review_time",
  },
];

export const operatorOptions = [
  {
    label: ">",
    value: ">",
  },
  {
    label: "<",
    value: "<",
  },
  {
    label: "=",
    value: "=",
  },
  {
    label: ">=",
    value: ">=",
  },
  {
    label: "<=",
    value: "<=",
  },
]

export const personnelOption = [
  {
    label: "添加人",
    value: "create_user",
  },
  {
    label: "开发人",
    value: "developer_id",
  },
  {
    label: "采购人",
    value: "purchaser_id",
  },
  {
    label: "图片处理人",
    value: "img_processor_id",
  },
  {
    label: "编辑处理人",
    value: "editor_id",
  },
  {
    label: "开发审核人",
    value: "dev_reviewer_id",
  },
  {
    label: "物流审核人",
    value: "logistics_reviewer_id",
  },
];

export const skuOptions = [
  { 
    label: "系统SKU", 
    value: "sku" 
  },
  { 
    label: "自定义SKU", 
    value: "custom_sku"
  },
  // { 
  //   label: "赛盒SKU", 
  //   value: "sai_he_sku" 
  // },
  { 
    label: "组合子系统SKU", 
    value: "combination_sku" 
  },
  { 
    label: "组合子自定义SKU", 
    value: "combination_custom_sku" 
  },
  {
    label: "切换SKU",
    value: "alternative_sku_list"
  },
];

export const isRefundTaxOptions = [
  {
    label: '是',
    value: 2
  },
  {
    label: '否',
    value: 3
  },
]